# 异常处理


try:
    num1 = int(input('input int:'))
    num2 = int(input('input int:'))
    result=num1/num2

except ZeroDivisionError:
    print('除数为0')
except ValueError:
    print('输入错误')
except BaseException:
    print('未知异常')
else:
    print(result)
finally:
    pass
